package com.mis.clothespos.shiro.user.service.impl;

import com.mis.clothespos.shiro.user.domain.User;
import com.mis.clothespos.shiro.user.mapper.userMapper;
import com.mis.clothespos.shiro.user.service.loginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

@Service
@Primary
public class loginServiceImpl implements loginService {

    @Autowired
    userMapper u;
    @Override
    public User selectUserByUserName(String userName) {
        return u.selectUserByUserName(userName);
    }
}
